package com.baikeyang.common.bean.wx;

/**
 * @Author     : BaiKeyang
 * @Date       : Created in 2020/5/22 11:03
 * @Description:
 * @Modified By: 
 * @Version: $
 */
public class AuthCode2Session {

    /**
     * 用户唯一标识
     */
    String openid;

    /**
     * 会话密钥
     */
    String session_key;

    /**
     * 用户在开放平台的唯一标识符，在满足 UnionID 下发条件的情况下会返回，详见 UnionID 机制说明。
     */
    String unionid;

    /**
     * 错误码
     */
    Integer errcode;

    /**
     * 错误信息
     */
    String errmsg;

    /**
     * 用户ID
     */
    Long userId;

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getSession_key() {
        return session_key;
    }

    public void setSession_key(String session_key) {
        this.session_key = session_key;
    }

    public String getUnionid() {
        return unionid;
    }

    public void setUnionid(String unionid) {
        this.unionid = unionid;
    }

    public Integer getErrcode() {
        return errcode;
    }

    public void setErrcode(Integer errcode) {
        this.errcode = errcode;
    }

    public String getErrmsg() {
        return errmsg;
    }

    public void setErrmsg(String errmsg) {
        this.errmsg = errmsg;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }
}
